package com.yang.repository;

import com.yang.entity.SassAccount;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Optional;

public interface SassAccountRepository
        extends JpaRepository<SassAccount, Long>, JpaSpecificationExecutor<SassAccount> {
    Optional<SassAccount> findByAccessKey(String accessKey);
}
